import Vue from "vue";
let vm = new Vue();

//成功时的消息提示
export let successMsg = message =>{
    vm.$notify({
        message,
        type: 'success'
      });
}

export let failedMsg = message=>{
    vm.$notify.error({
        message,
      });
}